//
//  HomeViewModel.h
//  HLZhiHuDaily
//
//  Created by 胡林 on 16/3/2.
//  Copyright © 2016年 胡林. All rights reserved.
//

#import <Foundation/Foundation.h>
@class StoryModel;
@interface HomeViewModel : NSObject
//每天数据列表
@property(strong,readonly,nonatomic)NSMutableArray *daysDataList;
//头条新闻
@property(strong,readonly,nonatomic)NSMutableArray *top_stories;
//正在加载
@property(assign,readonly,nonatomic)BOOL isLoading;
//新闻的ID
@property(strong,readonly,nonatomic)NSMutableArray *storiesID;
//得到最新的故事
- (void)getLatestStories;
//把以前的故事
- (void)getPreviousStories;
//最新日期的故事
- (void)updateLatestStories;
//数量
- (NSUInteger)numberOfSections;
//行数
- (NSUInteger)numberOfRowsInSection:(NSUInteger)section;
//标题部分
- (NSAttributedString *)titleForSection:(NSInteger)section;
//故事在索引路径
- (StoryModel *)storyAtIndexPath:(NSIndexPath *)indexPath;

@end

